import request from '@/utils/request'
//  出库单管理 / 订单拆包

export function splitOrder(code, data) {
  return request({
    url: `/wms/splitOrder/${code}`,
    method: 'post',
    params: data
  })
}
export function printSplitExpress(data) {
  return request({
    url: '/wms/splitOrder/printSplitExpress',
    method: 'post',
    params: data
  })
}
export function getOrderdetail(code) {
  return request({
    url: `/wms/splitOrder/detail/${code}`,
    method: 'get'
  })
}
